#ifndef POINTS_VIEW_H
#define POINTS_VIEW_H

#include <QtWidgets/QMainWindow>

#include "ui_PointsArea.h"
#include "PointsModel.h"

class PointsView : public QWidget
{
	Q_OBJECT

public: 
	PointsView(QWidget *parent = 0);
	void SetModel(PointsModel* model);

public slots:
	void displayPoints();
	void cellClicked(int, int);

private:
	Ui::pointsClass ui;
	PointsModel* _model;

signals:
	void cellValue(const double, const double);
};

#endif